home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Business Master (3rd Edition)
/
The Business Master (3rd Edition).iso
/
files
/
grap_cad
/
elf
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1993-02-21
|
2KB
|
48 lines
@Echo Off
Cls
Echo *====================[ ELF Install Program ]==========================*
Echo .
If [%1] == [] GoTo :usage
If [%2] == [] GoTo :usage
If Not Exist %1\unzip.exe GoTo baddrive
If Not Exist %2\nul GoTo baddir
Echo This program will extract files from the ELF archive. All ELF files will be
Echo extracted from ELF.ZIP on %1 to %2 on your hard drive.
Echo .
Echo Press any key to continue or CTRL-C to quit now.
Echo .
Pause > nul
:OK
Echo .
Echo Extracting ELF files...
%1\unzip /P %2 /- %1\*.zip
Echo .
Echo Done
Echo .
Echo Make sure that the directory %2 in on your AutoCAD library path by
Echo editing the SET ACAD= statement in your ACAD386.BAT file
Echo (eg SET ACAD=C:\ACAD\SUPPORT;%2).
Echo %2 MUST be included in that list of directories for ELF to
Echo operate properly.
Echo .
Echo Enter (load"DEMO") once in AutoCAD to run the ELF demonstration.
Echo .
Echo If you have registered ELF, then enter PASSWORD from the AutoCAD Command:
Echo prompt to add your password and remove the delay screen.
Echo .
GoTo End
:BADDIR
Echo Error: %2 is not a valid directory.
GoTo usage
:BADDRIVE
Echo Error: the file UNZIP.EXE can Not be found on drive %1
:USAGE
Echo .
Echo In order for Install to work properly you must provide both the
Echo floppy drive and your ELF directory:
Echo If you wish to create a new directory enter MD %2 then rerun install
Echo .
Echo Usage: INSTALL A: C:\ELF
:END